<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<title>DOHN</title>
<link href="../html/css/popup.css" rel="stylesheet" type="text/css" />
<script language = "JavaScript">
 function s_submit()
 {
  if(document.s_join.description_name.value == "")
  {
   alert('Please input description');
   document.s_join.description_name.focus();
   return false;
  }
  document.s_join.submit();
  top.opener.location.reload();
  window.close();  
}
</script>
</head>
<body>
<style>
#popup{
	height: 110px;
	width: 270px;
}
#popup_detail{	
	height: 100px;
	width: 260px;
}
form#add_description input, form#add_description textarea{
width:247px; margin-left:3px;
}
</style>
<div id="popup">
	<div id="popup_detail">	
		<h4>Description Name</h4>
			<form name="s_join" id="add_description" action="do_pattern_add" method="post">
				<!---CONTENT!--->
				<input type="text" name="description_name" style="" />	<br>			
				<table style="margin-top:8px;">
					<tr>			
						<td>
							<a href="javascript:window.close();" ><img src="../html/images/cancel.jpg"  border=0 style="width:80px; height:27px; " ></a>
						</td>
						<td>
							<input type="button" value="Complete" onClick="s_submit();" style="width:80px; height:27px; color:#fff; border:none; background: url(../html/images/button.jpg); margin-left:90px;"/>
						</td>
					</tr>
				</table>			
		</form>

	</div>
</div>
</body>
</html>
